package level.editor.view.action.file;

import javax.swing.AbstractAction;
import javax.swing.ImageIcon;

import level.editor.control.main.MainTabbed;

public abstract class FileAction extends AbstractAction
{
	public FileAction(String name, MainTabbed tabbed, String iconName)
	{
		super(name, new ImageIcon(iconName));
		this.tabbed = tabbed;
	}
	
	public FileAction(String name, MainTabbed tabbed)
	{
		super(name);
		this.tabbed = tabbed;
	}

	protected MainTabbed tabbed;
}
